package Test;

import java.util.Scanner;

public class Test02 {
    public static void main(String[] args) {

        Scanner s = new Scanner(System.in);
        System.out.println("请输入整数");
        int num = s.nextInt();

        if(num % 2 == 0){
            System.out.println(num+"该数是偶数"+true);
        }else{
            System.out.println(num+"该数是偶数"+false);
        }
    }
}
